FROM openjdk:8-jre
ADD ./ruoyi-admin/target/ruoyi-admin.jar ruoyim.jar
RUN ln -sf /usr/share/zoneinfo/Asia/ShangHai /etc/localtime \
    && echo "Asia/Shanghai" > /etc/timezone
ENTRYPOINT ["java", "-jar", "/ruoyim.jar"]
